ElasticPress\Command D

Total Complexity 161
Dependencies 7
Dependents 0
Total lines 1,631
Lines of code 689
Logical lines of code 418
Comment lines 711
Methods 46
Properties 4

Methods 46

Method Rating Maintainability Complexity Lines of code
sync()
B
33 22 90
put_mapping_helper()
B
37 19 77
delete_index()
A
41 14 54
index_output()
A
47 8 32
activate_feature()
S
53 6 21
deactivate_feature()
S
55 6 18
request()
S
55 6 18
stats()
S
50 5 26
list_features()
S
55 5 19
recreate_network_alias()
S
55 5 18
status()
S
51 4 26
get()
S
55 4 18
stop_sync()
S
58 4 14
set_search_algorithm_version()
S
59 4 13
maybe_add_http_api_debug_filter()
S
48 2 42
connect_check()
S
66 3 8
print_json_response()
S
63 3 10
epio_set_autosuggest()
S
63 3 9
get_ongoing_sync_status()
S
60 2 13
render_stats()
S
61 2 11
maybe_change_host()
S
66 2 10
index_occurring()
S
72 2 5
pretty_json_encode()
S
74 2 4
get_last_cli_sync()
S
65 2 8
get_mapping()
S
64 2 8
maybe_change_index_prefix()
S
66 2 10
get_search_algorithm_version()
S
67 2 8
create_network_alias_helper()
S
63 2 10
get_index_settings()
S
71 1 5
call_ep_cli_put_mapping()
S
75 1 4
settings_reset()
S
70 1 6
get_search_template()
S
69 1 6
put_search_template()
S
72 1 5
delete_search_template()
S
72 1 5
__construct()
S
78 1 3
stop_on_failed_mapping()
S
75 1 4
custom_get_transient()
S
75 1 4
should_interrupt_sync()
S
76 1 4
clear_sync()
S
71 1 6
delete_transient()
S
76 1 4
delete_transient_on_int()
S
75 1 4
get_index_names()
S
80 1 3
get_indices()
S
64 1 9
get_cluster_indices()
S
71 1 5
put_mapping()
S
69 1 7
get_last_sync()
S
71 1 5